# -*- coding: utf-8 -*-
# © 2018 QYT Technology
# Authored by: Zhao Xingtao (zxt50330@gmail.com)
import factory
from factory.alchemy import SQLAlchemyModelFactory
from factory import fuzzy

from bills import db
from bills.debt.models import Income


class IncomeTypeFactory(SQLAlchemyModelFactory):
    class Meta:
        model = Income
        sqlalchemy_session = db.session

    name = fuzzy.FuzzyText()
